//
//  PopUpViewController.h
//  reacticons
//
//  Created by Admin on 7/4/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum 
{
    PopUpArrowAtTopLeft,
    PopUpArrowAtTopRight,
    PopUpArrowAtBottomLeft,
    PopUpArrowAtBottomRight,
    PopUpArrowAtTopCenter,
    PopUpArrowAtBottomCenter
}
PopUpArrowPosition;

@class PopUpViewController;

@protocol PopUpViewDelegate <NSObject>

- (void)popUpBar:(PopUpViewController*)popUpController didSelectButton:(id)sender;

@end

@interface PopUpViewController : UIViewController
{
    IBOutlet UIImageView * arrow1;
    IBOutlet UIImageView * arrow2;
    IBOutlet UIImageView * arrow3;
    IBOutlet UIImageView * arrow4;
    IBOutlet UIImageView * arrowcenter1;
    IBOutlet UIImageView * arrowcenter2;
    
    IBOutlet UIButton * shareButton;
    IBOutlet UIButton * addToFavoriteButton;
    IBOutlet UIButton * viewDetailButton;
    IBOutlet UIButton * addTextBtn;
    
    IBOutlet UIButton *topCopiedBtn;
    IBOutlet UIButton *botCopiedBtn;
    
    id<PopUpViewDelegate> delegate;
    
    CGRect selectedFrame;
}

@property (nonatomic, assign) id<PopUpViewDelegate> delegate;
@property (nonatomic, assign) CGRect selectedFrame;
@property (nonatomic, assign) IBOutlet UIButton * addToFavoriteButton;

- (void)setPositionOfArrow:(PopUpArrowPosition)position;
- (void)setStatusOfFavoriteButtonAsActive:(BOOL)active;

@end
